“the safety of local residents and visiting worshippers remains the top priority for the authorities.